﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Kokomo.Environment.Services
{
	/// <summary>
	/// Provides UI services.
	/// </summary>
	/// <remarks>
	/// The environment provides an implementation of this interface,
	/// and can be retrieved via <see cref="EnvironmentServices"/>.
	/// </remarks>
	public interface IUiService
	{
		/// <summary>
		/// Shows the <c>Open File</c> dialog.
		/// </summary>
		/// <param name="options">The options for the dialog.</param>
		/// <returns>List of filenames selected by the user.</returns>
		FileDialogResult ShowOpenFileDialog(FileDialogOptions options);
		/// <summary>
		/// Shows the <c>Save File As</c> dialog.
		/// </summary>
		/// <param name="options">The options for the dialog.</param>
		/// <returns>The filename selected by the user.</returns>
		string ShowSaveFileDialog(FileDialogOptions options);
	}
}
